<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 400px;
            height: 400px;
            background-color: pink;
            background-image: url(./images/1.png);
            background-repeat: no-repeat;

            /* background-position: left top; */
            /* background-position: right bottom; */
            /* 水平方向正数向右,负数向左; 垂直方向正数向下,正数向上*/
            background-position: -50px 0;
        }
    </style>
</head>
<body>
    <div>div 标签</div>
</body>
</html>